package series

func GetFib(n int) ([]int, string)  {

    if n < 0 {
        return nil, "error"
    }

    fibList := []int{1, 1}

    for i := 2; i < n; i++ {
        fibList = append(fibList, fibList[i-2] + fibList[i-1])
    }
    return fibList, ""
}
